<%@page import="tx.bj12320.model.*" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>

<rapid:override name="head">
<link rel="stylesheet" type="text/css" href="<c:url value="/widgets/jquery-easyui/themes/default/easyui.css"/>">
	<link rel="stylesheet" type="text/css" href="<c:url value="/widgets/jquery-easyui/themes/icon.css"/>">
	<script type="text/javascript" src="<c:url value="/widgets/jquery-easyui/jquery.easyui.min.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/widgets/jquery-easyui/locale/easyui-lang-zh_CN.js"/>"></script>
		<script type="text/javascript" src="<c:url value="/widgets/jquery-easyui/easyloader.js"/>"></script>
	<link rel="stylesheet" href="${ctx }/scripts/jquery-ui/themes/base/jquery.ui.all.css">
	<script src="${ctx }/scripts/jquery-ui/ui/jquery.ui.core.js"></script>
	<script src="${ctx }/scripts/jquery-ui/ui/jquery.ui.widget.js"></script>
	<script src="${ctx }/scripts/jquery-ui/ui/jquery.ui.position.js"></script>
	<script src="${ctx }/scripts/jquery-ui/ui/jquery.ui.autocomplete.js"></script>
		<style>
	.ui-autocomplete-loading { background: white url('${ctx }/images/ui-anim_basic_16x16.gif') right center no-repeat; }
	</style>
	<style>
<!--
p.MsoCommentText, li.MsoCommentText, div.MsoCommentText {
	font-size:10.5pt;
	font-family:"Times New Roman";
}
p.MsoCommentSubject, li.MsoCommentSubject, div.MsoCommentSubject {
	font-size:10.5pt;
	font-family:"Times New Roman";
	font-weight:bold;
}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {
	text-align:justify;
	text-justify:inter-ideograph;
	font-size:9.0pt;
	font-family:"Times New Roman";
}
div.Section1 {
	page:Section1;
}
-->
</style>
</rapid:override>

<rapid:override name="content">
<s:bean name="tx.bj12320.service.DataDictManager" var="dataDictManager"></s:bean>
	<s:form action="/pages/TszbProcessInfo/startProcess.do" method="post" theme="simple">
	<s:hidden id="workOrderType" name="workOrderType" value="%{@tx.bj12320.model.enums.WorkOrderTypeEnum@JYSLD}"/>
<s:hidden name="orgInfoId" id="orgInfoId" value="%{model.orgInfoId}"/>

<div class=Section1 >
  <p align=center style='text-align:center;
layout-grid-mode:char'><b><span style='font-size:22.0pt;font-family:宋体'>北京市卫生局<span
lang=EN-US>12320</span>公共卫生热线</span></b></p>
  <p align=center style='
text-align:center;layout-grid-mode:char'><b><span
style='font-size:18.0pt;font-family:宋体'>建议受理单</span></b></p>
  <p style='layout-grid-mode:
char' align=center><b><span style='font-family:宋体'>请</span></b><u><span lang=EN-US
style='font-family:宋体'>&nbsp;<input type="text" name="orgInfoLable" id="orgInfoLable" class="required">&nbsp; </span></u><b><span style='font-family:宋体'>协助调查核实，于<u><span lang=EN-US>&nbsp;
<s:select list="{'30','5','10','20','7'}" theme="simple"  key="timeLimit"></s:select>
&nbsp; </span>个工作日</u>内回复处理结果。</span></b></p>
  <div align=center>
    <table border=1 cellspacing=0 cellpadding=0 width=648 class="workOrderTable" height="800" style='layout-grid:15.6pt''>
      <tr>
        <td width=191 colspan=2><p><b><span style='font-family:宋体'>建 议 人<span lang=EN-US>: <s:textfield label="%{@tx.bj12320.model.TszbProcessInfo@ALIAS_CALLER_NAME}" key="callerName" value="%{model.callerName}" cssClass="" required="false" size="15"/></span></span></b></p></td>
        <td width=180 colspan=2><p><b><span style='font-family:宋体'>来电号码<span lang=EN-US>:<s:textfield label="%{@tx.bj12320.model.TszbProcessInfo@ALIAS_CALLER_NUMBER}" key="callerNumber" value="%{model.callerNumber}" cssClass="" required="false" size="15"/></span></span></b></p></td>
        <td width=277 colspan=3><p><b><span style='font-family:宋体'>联系电话：<s:textfield label="%{@tx.bj12320.model.TszbProcessInfo@ALIAS_CELL_PHONE}" key="cellPhone" value="%{model.cellPhone}" cssClass="" required="false" size="15"/></span></b></p></td>
      </tr>
      <tr>
        <td width=648 colspan=7><p><b><span style='font-family:宋体'>建议来源： <s:select  list="#dataDictManager.findAllByDdType('TSZB__WORK_ORDER_SOURCE')"   key="workOrderSource"  listKey="ddName" listValue="ddName"  theme="simple"/></span></b></p></td>
      </tr>
      <tr>
        <td width=648 colspan=7 valign=top><p><b><span style='font-family:宋体'>建议内容：<s:textarea rows="3" cols="60" label="%{@tx.bj12320.model.TszbProcessInfo@ALIAS_INCOMING_CALL_CONTENT}" key="incomingCallContent" value="%{model.incomingCallContent}" cssClass="" required="false" /></span></b></p></td>
      </tr>
      <tr>
        <td width=648 colspan=7><p><b><span style='font-family:宋体'>建议分类：
        <s:textfield label="%{@tx.bj12320.model.TszbProcessInfo@ALIAS_WORK_ORDER_SORT}" id="workOrderSort" name="workOrderSort" value="%{model.workOrderSort}" cssClass="required" required="false" readonly="true" size="40"/>
        <s:hidden name="workOrderSortDdValue" id="workOrderSortDdValue" value="%{model.workOrderSortDdValue}"/>
        </span></b><a href="javascript:showTreeDialog();" >选择</a>
        </span></b></p></td>
      </tr>
      <tr>
        <td width=162><p><b><span style='font-family:宋体'>受理坐席：<s:textfield label="%{@tx.bj12320.model.TszbProcessInfo@ALIAS_SHOULLI_PERSON}" key="shoulliPerson" value="%{model.shoulliPerson}" cssClass="" required="false" /></span></b></p></td>
        <td width=162 colspan=2><p><b><span style='font-family:宋体'>初审班长：<s:textfield label="%{@tx.bj12320.model.TszbProcessInfo@ALIAS_CHUSHEN_PERSON}" key="chushenPerson" value="%{model.chushenPerson}" cssClass="" required="false" /></span></b></p></td>
        <td width=162 colspan=2><p><b><span style='font-family:宋体'>审核人员：<s:textfield label="%{@tx.bj12320.model.TszbProcessInfo@ALIAS_SHENHE_PERSON}" key="shenhePerson" value="%{model.shenhePerson}" cssClass="" required="false" /></span></b></p></td>
        <td width=162 colspan=2><p><b><span style='font-family:宋体'>受理时间<span lang=EN-US>:<input value="${model.shouliTimeString}" onclick="WdatePicker({dateFmt:'<%=TszbProcessInfo.FORMAT_SHOULI_TIME%>'})" id="shouliTimeString" name="shouliTimeString"  maxlength="0" class="required" /></span></span></b></p></td>
      </tr>
      <tr>
        <td width=191 colspan=2><p><b><span style='font-family:宋体'>接收部门：</span></b></p></td>
        <td width=180 colspan=2><p><b><span style='font-family:宋体'>接收人：</span></b></p></td>
        <td width=277 colspan=3><p><b><span style='font-family:宋体'>接收时间：</span></b></p></td>
      </tr>
      <tr>
        <td width=648 colspan=7 bgcolor="#E2E2E2"><p><b><span style='font-family:宋体'>以下由办理单位填写：</span></b></p></td>
      </tr>
      <tr>
        <td width=648 colspan=7 valign=top><p><b><span style='font-family:宋体'>领导批示：</span></b></p>
          <p align=right style='text-align:right'><b><span
  style='font-family:宋体'>签名：<span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>年<span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp; </span>月<span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp; </span>日</span></b></p></td>
      </tr>
      <tr>
        <td width=191 colspan=2><p><b><span style='font-family:宋体'>办理部门： </span></b></p></td>
        <td width=180 colspan=2><p><b><span style='font-family:宋体'>办 理 人：</span></b></p></td>
        <td width=138 colspan=2><p><b><span style='font-family:宋体'>办理时间：</span></b></p></td>
        <td width=138><p><b><span style='font-family:宋体'>反馈建议人时间：</span></b></p></td>
      </tr>
      <tr>
        <td width=648 colspan=7 valign=top><p><b><span style='font-family:宋体'>办理结果：</span></b></p></td>
      </tr>
      <tr>
        <td width=648 colspan=7 valign=top><p><b><span style='font-family:宋体'>此事是否属实：</span></b></p></td>
      </tr>
      <tr>
        <td width=648 colspan=7 valign=top><p><b><span style='font-family:宋体'>建议人对办理结果的意见：</span></b></p></td>
      </tr>
      <tr>
        <td width=648 colspan=7 valign=top><p><b><span style='font-family:宋体'>是否根据建议改进工作</span></b></p></td>
      </tr>
      <tr>
        <td width=648 colspan=7 valign=top><p><b><span style='font-family:宋体'>领导签发：</span></b></p>
          <p align=right style='text-align:right'><b><span
  style='font-family:宋体'>签名：<span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>年<span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp; </span>月<span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp; </span>日</span></b></p></td>
      </tr>
    </table>
  </div>
</div>

		<div align="center"">
		<input id="submitButton" name="submitButton" type="submit" value="提交" />
		<input type="button" value="返回列表" onclick="window.location='${ctx}/pages/TszbProcessInfo/list.do'"/>
		<input type="button" value="后退" onclick="history.back();"/>
</div>
	</s:form>

	<script>
	using('dialog', function(){
		$('#treeDialog').dialog({

		});
	});
	function useTreeNode(workOrderSort,workOrderSortDdValue){
		$("#workOrderSort").val(workOrderSort);
		$("#workOrderSortDdValue").val(workOrderSortDdValue);
		//alert(workOrderSort);
		$('#treeDialog').dialog('close');
	}
	function showTreeDialog(){
		$('#treeDialog').dialog('open');
	}

	$(function() {

		$( "#orgInfoLable" ).autocomplete({
		source: function( request, response ) {
				$.post( "${ctx }/pages/OrgInfo/outOrgInfo.do", {
					term:  request.term
				}, response );
			},
		minLength: 2,
		select: function( event, ui ) {
			$("#orgInfoId").val(ui.item.orgInfoId);
		}
	});

});

		new Validation(document.forms[0],{onSubmit:true,onFormValidate : function(result,form) {
			var finalResult = result;

			//在这里添加自定义验证
			var orgInfoId=$("#orgInfoId").val();
			if(orgInfoId==""){
				alert("网络单位选择不正确，请重新选择！");
				return false;
			}

			return disableSubmit(finalResult,'submitButton');
		}});
	</script>
<div id="treeDialog" resizable="true" class="easyui-dialog" icon="icon-search" style="padding:5px;width:620px;height:500px;overflow:false;" closed="true" modal="true" title="请选择..." >
          <iframe id="treeDialogIfr" name="treeDialogIfr" width="100%" height="100%" src="${ctx}/pages/DataDict/tree.do?ddType=TSZB__WORK_ORDER_SORT_JYFL" frameborder="0" scrolling="auto"></iframe>

</div>
</rapid:override>

<%@ include file="base.jsp" %>